package com.oa.framework.org.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Getter;
import lombok.Setter;



/**
 * 职位
 * @author cuichao
 */
@Getter
@Setter
@TableName("org_position")
public class Position {

    /**
     * 职位ID
     */
    @TableId( value = "pos_id" , type = IdType.ASSIGN_ID)
    private Long positionId;
    /**
     * 职位编码
     */
    @TableField(value = "pos_code")
    private String positionCode;
    /**
     * 职位名称
     */
    @TableField(value = "pos_name")
    private String positionName;
    /**
     * 职位等级
     */
    @TableField(value = "pos_level")
    private Short positionLevel;
    /**
     * 职位说明
     */
    @TableField(value = "pos_description")
    private String description;
    /**
     * 是否废弃
     */
    @JsonIgnore
    @TableField("`disable`")
    private Boolean disable;




}
